# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  
  def get_first_step_thumbnail(path)
    step = path.steps.find(:first, :order => 'sequence')
    if (step)
      return step.link.thumbnail
    else
      return "/thumbnails/not_available.jpg"
    end
  end
  
end
